package com.bw.service;

import com.bw.bean.DataBean;
import com.bw.mapper.DataMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * @author 徐金浩
 * @date 2025年10月13日 9:59
 */
@Service
public class DataserviceImpl implements Dataservice {

    @Autowired
    private DataMapper dataMapper;


    @Override
    public DataBean select1() {
        return dataMapper.select1();
    }

    @Override
    public List<DataBean> select2() {
        return dataMapper.select2();
    }

    @Override
    public List<DataBean> select3() {
        return dataMapper.select3();
    }

    @Override
    public List<DataBean> select4() {
        return dataMapper.select4();
    }
}
